/*
 * @Description: LinkedHashSet
 * 
 * @Author: rendc
 * 
 * @Date: 2025-08-13 11:27:19
 * 
 * @LastEditors: rendc
 * 
 * @LastEditTime: 2025-08-13 11:32:19
 */

import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Set;

public class TestLinkedHashSet {

  public static void main(String[] args) {
    Set<String> set = new HashSet<>();
    // Set<String> set = new LinkedHashSet<>();
    set.add("bbc");
    set.add("abc");
    set.add("cbc");
    set.add("aaa");
    set.add("bbb");
    set.add("ccc");
    System.out.println(set);

  }
}